import {defineStore} from 'pinia'
const useEditorStore = defineStore('editorStore', {
    state: () => ({
        editorContent:''
    }),
    getters: {
        getEditorContent:(state)=>{
            return state.editorContent
        }
    },
    actions: {
        setEditorContent(editorContent){
            this.editorContent = editorContent;
        }
    }
})

export default useEditorStore